setQuickScaleEnabled

open fun setQuickScaleEnabled(scaleGestureDetector: Any, enabled: Boolean)(source)

Deprecated

Use setQuickScaleEnabled that takes ScaleGestureDetector instead of Object.

Sets whether the associated ScaleGestureDetector.OnScaleGestureListener should receive onScale callbacks when the user performs a doubleTap followed by a swipe. Note that this is enabled by default if the app targets API 19 and newer.

Parameters

scaleGestureDetector

detector for which to set the scaling mode.

enabled

true to enable quick scaling, false to disable


open fun setQuickScaleEnabled(@NonNull scaleGestureDetector: ScaleGestureDetector, enabled: Boolean)(source)

Deprecated

Call setQuickScaleEnabled directly.

Sets whether the associated ScaleGestureDetector.OnScaleGestureListener should receive onScale callbacks when the user performs a doubleTap followed by a swipe. Note that this is enabled by default if the app targets API 19 and newer.

Parameters

scaleGestureDetector

detector for which to set the scaling mode.

enabled

true to enable quick scaling, false to disable